package com.bkgy.modularbx.coil_track_stats.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * 产线统计数据查询VO
 */
@Data
@Schema(description = "产线统计数据查询参数")
public class TrackStatsQueryVO {

    @NotNull(message = "统计日期类型不能为空")
    @Schema(description = "统计日期类型：1-按日，2-按月", example = "1")
    private Integer dateType;

    @NotNull(message = "开始日期不能为空")
    @Schema(description = "开始日期（按日为YYYY-MM-DD，按月为YYYY-MM）", example = "2025-11-01")
    private String startDate;

    @NotNull(message = "结束日期不能为空")
    @Schema(description = "结束日期（按日为YYYY-MM-DD，按月为YYYY-MM）", example = "2025-11-12")
    private String endDate;

    @NotNull(message = "产线类型不能为空")
    @Schema(description = "产线类型：CAL1630/CAL2150/CGL1870/RCL2150/RCL1630/RCL1870",
             example = "CAL1630")
    private String lineType;
}